#ifndef FIIPCHECKING_H
#define FIIPCHECKING_H
#include "./frame/crc.h"
#include "./frame/format.h"
#include "riselib/mempool.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
  uint8_t* devAddr;
  uint16_t index;
  uint16_t cmd;
  uint16_t dataCRC;
} FiipCheckDuplicateStruct;  //查重结构体

int8_t fiipChecking_isDuplicate(Format_FieldStruct* msg);

#ifdef __cplusplus
}
#endif
#endif  // FIIPCHECKING_H
